﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace Kaiser.ViewEngines
{
    public class KaiserRazorViewEngine : RazorViewEngine
    {
        public KaiserRazorViewEngine()
        {

         

            this.AreaViewLocationFormats = new[] {
                "~/Areas/{2}/{1}/{0}.cshtml",
          
                "~/Areas/{2}/Shared/{0}.cshtml"
                 
            };

            AreaPartialViewLocationFormats= AreaMasterLocationFormats = new[] { "~/Areas/Shared/{0}.cshtml" };
            //AreaViewLocationFormats = new[] { "~/Areas/{2}/{1}/{0}.cshtml" };  
        }
    }
}
